package com.ruoyi.xiaoshou.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 销售退货申请详情对象 finer_sale_back_request_detail
 * 
 * @author lmj
 * @date 2024-10-25
 */
@Data
public class SaleBackRequestDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer id;

    /** 销售退货申请单编号 */
    @Excel(name = "销售退货申请单编号")
    private String saleBackRequestCode;

    /** 商品编号 */
    @Excel(name = "商品编号")
    private String proCode;
    private String proName;
    /** 数量 */
    @Excel(name = "数量")
    private Integer proNum;

    /** 出售单价 */
    @Excel(name = "出售单价")
    private BigDecimal price;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateDate;

    /** 是否删除(0:未删除 1:删除) */
    private Integer isDel;



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("saleBackRequestCode", getSaleBackRequestCode())
            .append("proCode", getProCode())
            .append("proNum", getProNum())
            .append("price", getPrice())
            .append("createBy", getCreateBy())
            .append("createDate", getCreateDate())
            .append("updateBy", getUpdateBy())
            .append("updateDate", getUpdateDate())
            .append("isDel", getIsDel())
            .toString();
    }
}
